package top.huhuiyu.springboot3.p2301.validate;

/**
 * 通用验证标识接口
 *
 * @author 胡辉煜
 */
public interface CommonValidate {
    String PHONE = "^1[3-9][0-9]{9}$";
    String EMAIL = "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$";

    interface Query {
    }

    interface Add {
    }

    interface Edit {
    }

    interface Delete {
    }

}
